package com.weichen.xd.data;

import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Dune on 2017/9/11.
 */

public class Astro implements Parcelable {


    public static final Parcelable.Creator<Astro> CREATOR = new Parcelable.Creator<Astro>() {
        @Override
        public Astro createFromParcel(Parcel source) {
            return new Astro(source);
        }

        @Override
        public Astro[] newArray(int size) {
            return new Astro[size];
        }
    };
    /**
     * mr : 19:39
     * ms : 07:16
     * sr : 05:36
     * ss : 18:17
     */

    @SerializedName("mr")
    private String mr;
    @SerializedName("ms")
    private String ms;
    @SerializedName("sr")
    private String sr;
    @SerializedName("ss")
    private String ss;

    public Astro() {
    }

    protected Astro(Parcel in) {
        this.mr = in.readString();
        this.ms = in.readString();
        this.sr = in.readString();
        this.ss = in.readString();
    }

    public String getMr() {
        return mr;
    }

    public void setMr(String mr) {
        this.mr = mr;
    }

    public String getMs() {
        return ms;
    }

    public void setMs(String ms) {
        this.ms = ms;
    }

    public String getSr() {
        return sr;
    }

    public void setSr(String sr) {
        this.sr = sr;
    }

    public String getSs() {
        return ss;
    }

    public void setSs(String ss) {
        this.ss = ss;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.mr);
        dest.writeString(this.ms);
        dest.writeString(this.sr);
        dest.writeString(this.ss);
    }
}
